package cn.xuchunh.campusbbs.viewholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;

import com.facebook.drawee.view.SimpleDraweeView;

import cn.xuchunh.campusbbs.R;
import cn.xuchunh.campusbbs.widget.AdvancedTextView;
import cn.xuchunh.campusbbs.widget.ReplyContentView;

/**
 * Created by XuChunH on 2015/9/15.
 */
public class TopicReplyViewHolder extends RecyclerView.ViewHolder {

    public SimpleDraweeView avatar, contentImage1, contentImage2;
    public TextView user, position,  date, hint;
    public AdvancedTextView contentText;
    public ReplyContentView content;

    public TopicReplyViewHolder(View itemView) {
        super(itemView);
        avatar = (SimpleDraweeView) itemView.findViewById(R.id.avatar);
        contentImage1 = (SimpleDraweeView) itemView.findViewById(R.id.content_image1);
        contentImage2 = (SimpleDraweeView) itemView.findViewById(R.id.content_image2);
        user = (TextView) itemView.findViewById(R.id.user);
        position = (TextView) itemView.findViewById(R.id.position);
        contentText = (AdvancedTextView) itemView.findViewById(R.id.content_text);
        date = (TextView) itemView.findViewById(R.id.date);
        hint = (TextView) itemView.findViewById(R.id.hint);
        content  = (ReplyContentView) itemView.findViewById(R.id.reply_content);
    }
}
